package com.tuanzi.loan.business.repository.xhh.settlementsystem;

import com.tuanzi.loan.business.entity.xhh.settlementsystem.XhhSettlementPrepay;
import com.tuanzi.loan.business.repository.xhh.settlementsystem.custom.XhhSettlementPrepayRepositoryCustom;
import com.tuanzi.loan.core.repository.JPAAuditRepository;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-08-22 17:20
 */
public interface XhhSettlementPrepayRepository extends XhhSettlementPrepayRepositoryCustom, JPAAuditRepository<XhhSettlementPrepay,Long> {
    List<XhhSettlementPrepay> findAllByBillId(Long billId);

    List<XhhSettlementPrepay> findAllByCompanyId(Long companyId);
}
